package cn.caidabao.camunda_demo.pojo.po;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
* <p>
    * 
    * </p>
*
* @author cai
* @since 2024-07-16
*/
    @Getter
    @Setter
    @TableName("t_cai_process_task")
    public class TCaiProcessTask implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 流程任务id
     */
    @TableId("processTaskId")
    @TableField(value = "processTaskId")
    private Long processTaskId;

    /**
     * 任务json数据
     */
    @TableField(value = "content")
    private String content;

    /**
     * 任务类型
     */
    @TableField(value = "taskType")
    private String taskType;

    /**
     * camunda对应的任务id
     */
    @TableField(value = "camundaTaskId")
    private String camundaTaskId;

    /**
     * 任务状态
     */
    @TableField(value = "status")
    private Integer status;

    @TableField(value = "caiProcessId")
    private Long caiProcessId;

    @TableField(value = "createTime",fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(value = "updateTime",fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @TableField(value = "createBy")
    private Long createBy;

    @TableField(value = "updateBy")
    private Long updateBy;

    /**
     * 对应表单标识
     */
    @TableField(value = "caiFormTag")
    private String caiFormTag;

    /**
     * 表单类型，0数据库，1java类
     */
    @TableField(value = "caiFormType")
    private Integer caiFormType;

    @TableField(value = "isDel")
    private Integer isDel;
}